import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  { path: '', loadChildren: './tabs/tabs.module#TabsPageModule' },
  { path: 'e-charts', loadChildren: './e-charts/e-charts.module#EChartsPageModule' },
  { path: 'testscss', loadChildren: './testscss/testscss.module#TestscssPageModule' },
  { path: 'fab', loadChildren: './fab/fab.module#FabPageModule' },
  { path: 'testloading', loadChildren: './testloading/testloading.module#TestloadingPageModule' },
  { path: 'sensors', loadChildren: './sensors/sensors.module#SensorsPageModule' },
  { path: 'cityarea', loadChildren: './cityarea/cityarea.module#CityareaPageModule' },
  { path: 'camera', loadChildren: './camera/camera.module#CameraPageModule' },
  { path: 'testmedia', loadChildren: './testmedia/testmedia.module#TestmediaPageModule' },
  { path: 'sqlite', loadChildren: './sqlite/sqlite.module#SqlitePageModule' },
  { path: 'testdategird', loadChildren: './testdategird/testdategird.module#TestdategirdPageModule' },
  { path: 'alarmclock', loadChildren: './alarmclock/alarmclock.module#AlarmclockPageModule' },
  { path: 'testcss', loadChildren: './testcss/testcss.module#TestcssPageModule' },
  { path: 'login', loadChildren: './login/login.module#LoginPageModule' },
  { path: 'listfilter', loadChildren: './listfilter/listfilter.module#ListfilterPageModule' },
  { path: 'esrimap', loadChildren: './esrimap/esrimap.module#EsrimapPageModule' },
  { path: 'testmenu', loadChildren: './testmenu/testmenu.module#TestmenuPageModule' },
  { path: 'test-tabcss', loadChildren: './test-tabcss/test-tabcss.module#TestTabcssPageModule' },
  { path: 'baidumap', loadChildren: './baidumap/baidumap.module#BaidumapPageModule' },
  { path: 'amap', loadChildren: './amap/amap.module#AmapPageModule' },
  { path: 'test-events', loadChildren: './test-events/test-events.module#TestEventsPageModule' },
  { path: 'timelinee', loadChildren: './timelinee/timelinee.module#TimelineePageModule' },
  { path: 'qrscanner', loadChildren: './qrscanner/qrscanner.module#QrscannerPageModule' },
  { path: 'a-zlist', loadChildren: './a-zlist/a-zlist.module#AZlistPageModule' },
  { path: 'testtesttest', loadChildren: './testtesttest/testtesttest.module#TesttesttestPageModule' },
];
@NgModule({
  imports: [
    RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  ],
  exports: [RouterModule]
})
export class AppRoutingModule { }
